package org.sy.lab.Java7并发编程实战.一线程管理.十二使用工厂类创建线程;

import java.util.concurrent.TimeUnit;

public class Task implements Runnable {
	@Override
	public void run() {
		try {
			TimeUnit.SECONDS.sleep(1);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
}
